home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
54200
/
54200.xpi
/
chrome
/
dogood.jar
/
content
/
dogood.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-01-05
|
4KB
|
75 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://dogood/skin/dogood-style.css" type="text/css"?>
<overlay id="dogood" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="DoGoodReplace.js" />
<!-- Toolbar menu -->
<toolbarpalette id="BrowserToolbarPalette">
<toolbarbutton id="dogood-toolbar-menu" type="menu" insertbefore="print-button"
tooltiptext="DoGooder toolbar menu" label="DoGooder" image="chrome://dogood/skin/btn_small.png">
<menupopup id="toolbarContextMenu" >
<menuitem label="Show Original Ads" accesskey="O" id="toolbar-dogood-showorigall" disabled="true"
tooltiptext="See All Original Ads on this page." oncommand="DoGoodMenuAction.ShowOriginalAll(event)" />
<menuseparator />
<menuitem label="Suggest a Cause to Support" accesskey="C" id="toolbar-dogood-feedback" disabled="false"
tooltiptext="I think this is a very good cause to support." oncommand="DoGoodMenuAction.Feedback()"/>
<menuitem label="Send Us Your Good Ideas" accesskey="I" id="toolbar-dogood-goodidea" disabled="false"
tooltiptext="I have a really good idea to share with everyone." oncommand="DoGoodMenuAction.GoodIdea()"/>
<menuseparator />
<menuitem label="Allow Web Site to Ignore DoGooder" accesskey="A" id="toolbar-dogood-ignoreon"
tooltiptext="Allow Web Site to Ignore DoGooder." oncommand="DoGoodMenuAction.IgnoreOn()" disabled="true" />
<menuitem label="Do Not Allow Web Site to Ignore DoGooder" accesskey="N" id="toolbar-dogood-ignoreoff"
tooltiptext="Let me see DoGooder ideas on this site again." oncommand="DoGoodMenuAction.IgnoreOff()" disabled="true"/>
</menupopup>
</toolbarbutton>
</toolbarpalette>
<!-- Context menu -->
<popup id="contentAreaContextMenu">
<!--<menuseparator id="context-dogood" hidden="true"/>
<menuitem id="context-dogood-showorigone"
label="DoGooder: Show Original Ad"
accesskey="" hidden="true"
oncommand="DoGoodMenuAction.ShowOriginalOne(event)"/> -->
<menuseparator />
<menuitem id="context-dogood-showorigall"
label="DoGooder: Show Original Ads"
accesskey="O" hidden="true"
oncommand="DoGoodMenuAction.ShowOriginalAll(event)"/>
<menuitem id="context-dogood-feedback"
label="DoGooder: Suggest a Cause to Support"
accesskey="C" hidden="false"
oncommand="DoGoodMenuAction.Feedback()"/>
<menuitem id="context-dogood-goodidea"
label="DoGooder: Send Us Your Good Ideas"
accesskey="I" hidden="false"
oncommand="DoGoodMenuAction.GoodIdea()"/>
<menuitem id="context-dogood-report"
label="DoGooder: Is This an Ad? Help Us ImproveΓÇô Report It"
accesskey="H" hidden="true"
oncommand="DoGoodMenuAction.AdReport(event)"/>
<menuitem id="context-dogood-ignoreon"
label="DoGooder: Allow Web Site to Ignore DoGooder"
accesskey="A" hidden="true"
oncommand="DoGoodMenuAction.IgnoreOn()"/>
<menuitem id="context-dogood-ignoreoff"
label="DoGooder: Do Not Allow Web Site to Ignore DoGooder"
accesskey="N" hidden="true"
oncommand="DoGoodMenuAction.IgnoreOff()"/>
<menuseparator />
</popup>
<!-- Bottom right status bar -->
<statusbar id="status-bar">
<statusbarpanel id="dogood-panel" tooltiptext="Number of good ideas you have seen this Internet browsing session.">
<vbox>
<description id="status-count">
</description>
</vbox>
</statusbarpanel>
</statusbar>
</overlay>